package com.casstime.ec.cloud.meeting.dao.mapper;

import com.casstime.ec.cloud.meeting.dao.entity.EntityRole;
import com.casstime.ec.cloud.meeting.dao.entity.example.EntityRoleExample;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface EntityRoleMapper {
    long countByExample(EntityRoleExample example);

    int deleteByExample(EntityRoleExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(EntityRole record);

    int insertSelective(EntityRole record);

    List<EntityRole> selectByExample(EntityRoleExample example);

    EntityRole selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") EntityRole record, @Param("example") EntityRoleExample example);

    int updateByExample(@Param("record") EntityRole record, @Param("example") EntityRoleExample example);

    int updateByPrimaryKeySelective(EntityRole record);

    int updateByPrimaryKey(EntityRole record);

    int batchInsert(@Param("list") List<EntityRole> list);

    int batchInsertSelective(@Param("list") List<EntityRole> list, @Param("selective") EntityRole.Column... selective);

    int upsert(EntityRole record);

    int upsertSelective(EntityRole record);
}